package com.baizhi.service;

import com.baizhi.entity.Food;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodService {
    public List<Food> selectFoods(@Param("pageNum")Integer pageNum,
                                  @Param("pageSize")Integer pageSize);
    public Food selectFoodById(Integer id);
    public void insertFood(Food f);
    public void deleteFoodById(Integer id);
    public void updateFood(Food f);
}
